package com.six.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.six.domain.entity.BizOrderItem;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class BizOrderDetailVO {
    private Long id;
    private Long userId;
    private Long storeId;
    private BigDecimal totalPrice;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    private List<BizOrderItem> items;
    private String tableNumber;
}